package io.xccit.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import io.xccit.model.system.SysUser;
import io.xccit.model.vo.SysUserQueryVo;

import java.util.List;
import java.util.Map;

/**
 * @author CH_ywx
 * @date 2023-06-22
 * @description
 */
public interface ISysUserService extends IService<SysUser> {
    List<SysUser> selectList();

    IPage<SysUser> selectPage(Page<SysUser> sysUserPage, SysUserQueryVo sysUserQueryVo);

    boolean userNameIsExist(String username);

    SysUser login(String username);

    Map<String, Object> getUserInfo(String username);

    SysUser getUserInfoByUserName(String username);
}
